package gconfig

// mysql struct
type dBConfig struct {
	Database     string
	User         string
	Password     string
	Host         string
	Port         int
	Charset      string
	URL          string
	MaxIdleConns int
	MaxOpenConns int
}

// redis struct
type redisConfig struct {
	Host      string
	Port      int
	Password  string
	URL       string
	MaxIdle   int
	MaxActive int
}

// mongo struct
type mongoConfig struct {
	URL      string
	Database string
}

// mail struct
type mailConfig struct {
	User string //域名邮箱账号
	Pwd  string //域名邮箱密码
	Host string //smtp邮箱域名
	Port int    //smtp邮箱端口
	From string //邮件来源
}

// aliyun struct
type aliyunConfig struct {
	RegionId        string //region
	AccessKeyId     string //ak
	AccessKeySecret string //secret
	showNumber      string
}
